package com.lc.luzhengtang.conn;

import android.util.Log;

import com.google.gson.Gson;
import com.lc.luzhengtang.bean.DayxiaoFeiBean;
import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2017/6/29.
 */
@HttpInlet(Conn.DAY_XIAOFEI)
public class ConnDayConsumption extends BaseAsyPost<DayxiaoFeiBean> {

    public String create_time, buyuser_id;

    public ConnDayConsumption(String create_time, String buyuser_id, AsyCallBack<DayxiaoFeiBean> asyCallBack) {
        super(asyCallBack);
        this.create_time = create_time;
        this.buyuser_id = buyuser_id;
    }


    @Override
    protected DayxiaoFeiBean parser(JSONObject object) throws Exception {
        Log.d(object.toString(),"3333333333333333");
        Log.d(object.toString(),"3333333333333333");
        Gson gson=new Gson();

        DayxiaoFeiBean dayxiaoFeiBean=new DayxiaoFeiBean();

        dayxiaoFeiBean=gson.fromJson(object.toString(),DayxiaoFeiBean.class);



        return dayxiaoFeiBean;

    }
}
